
public class zuheshu {
    public static void main(String[] args) {
        int  [] sq =new int [args.length];
        for(int i = 0;i<args.length;i++){
            sq[i] = Integer.parseInt(args[i]);
        }
        int n,m;
        n=sq[0];
        m=sq[1];
        int gst = Gtt.C(n,m);
        if(n<m)
        {
        System.out.println("n比m小，错误");
        }
        else if(n == m)
        {
        System.out.println("n==m,C=1");
        }
        else
        {
        System.out.println("结果为"+gst);
        }
        }
}
class Gtt{
        public static int C (int x,int y) {
                if((y>=0)&&(y<=x))
{
                 if (x == 0||x == y)
                         return 1;
                 else
                         return C(x-1,y)+C(x-1,y-1);
}
                return 0;
}
}
